//
//  UIDeviceMeasure.h
//  ARUI
//
//  Created by zhaoyunyi on 14-10-10.
//  Copyright (c) 2014年 zhaoyunyi. All rights reserved.
//
// iPhone 4,4S,Iphone/ipad touch 分辨率(320*480px)
#define UIDevice_iPhone4_4s        1
// iPhone 5,5S 分辨率(320*568px)
#define UIDevice_iPhone5_5s        2
// iPhone 6    分辨率(375*667px)
#define UIDevice_iPhone6           3
// iPhone 6plus 分辨率(621*1104px)
#define UIDevice_iPhone6plus       4
// iPad 1,2,3,4,mini 分辨率(1024x768px)
#define UIDevice_iPad              5

#define iPhone4_4sWidth             320.0
#define iPhone4_4sHeight            480.0

#define iPhone5_5sWidth             320.0
#define iPhone5_5sHeight            568.0

#define iPhone6Width                375.0
#define iPhone6Height               667.0

#define iPhone6plusWidth            414.0
#define iPhone6plusHeight           736.0
#define IOS7 [[[UIDevice currentDevice] systemVersion]floatValue]>=7


#define ScreenHeight [[UIScreen mainScreen] bounds].size.height
#define ScreenWidth [[UIScreen mainScreen] bounds].size.width
#define ScreenScale  [UIScreen mainScreen].scale
#import <UIKit/UIKit.h>

@interface UIDeviceMeasure1 : UIDevice

- (int)identifyResolution;

@end
